package modellayer;

/**
 * This demo-class only shows each Person (like each Item) can
 * have a personal list of different discounts.
 *  
 * @author (ucn-1semprojekt-dm78-gruppe1)
 *
 */
public class Person
{
  private String name;
  private String phone;

  private Discounts discounts;

  
	/**
	 * @return the discounts
	 */
	public Discounts getDiscounts()
	{
		return discounts;
	}


	
	/**
	 * @param discounts the discounts to set
	 */
	public void setDiscounts(Discounts discounts)
	{
		this.discounts = discounts;
	}

	
	/**
	 * @return the name
	 */
	public String getName()
	{
		return name;
	}
	
	/**
	 * @return the phone
	 */
	public String getPhone()
	{
		return phone;
	}
	
	/**
	 * @param name the name to set
	 */
	public void setName(String name)
	{
		this.name = name;
	}
	
	/**
	 * @param phone the phone to set
	 */
	public void setPhone(String phone)
	{
		this.phone = phone;
	}
	
}